package com.example.samples.mapper;


import com.example.samples.Vo.Page;
import com.example.samples.Vo.SamplePage;
import com.example.samples.bean.Sample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SampleMapper{

    public List<Sample> findAll(SamplePage page);

    public  Sample  findById(Integer id);

    public  int   save(Sample sample);

    public  int  deleteById(Integer id);

    public  int update(Sample sample);
}
